<?php
class My_Controller_Action_Helper_Translate 
	extends Zend_Controller_Action_Helper_Abstract
{
	
	public function translate( $message )
	{
		$translate = Zend_Registry::get("Zend_Translate");
		
		if ( $translate ){
			return $translate->translate( $message );
		}
		
		return $message;
		
	}
	
	public function direct( $message )
	{
		return $this->translate( $message );
	}
	
	public function _t( $message )
	{
		return $this->translate( $message );
	}
	
	
}